package com.example.rentingapp.api;

public class ApiConfig {
    //    public static final String BASE_URl = "http://10.77.168.254:8090";//本地
    public static final String BASE_URl = "http://112.74.35.140:8090";//阿里云
    public static final String LOGIN = "/user/login"; //登录
    public static final String REGISTER = "/user/register"; //登录
    public static final String FIND_HOUSE_BY_LOCATION = "/house/findHouseByLocation";//根据location搜索房源
    public static final String FIND_HOUSE_BY_ADDRESS = "/house/findHouseByAddress";//根据address搜索房源
    public static final String FIND_HOUSE_BY_TIMETYPE = "/house/findHouseByTimeType";//根据time_type搜索房源
    public static final String FIND_HOUSE_BY_HOMETYPE = "/house/findHouseByHomeType";//根据home_type搜索房源
    public static final String PUBLISH_HOUSE = "/house/publishHouse";//发布房源
    public static final String CHANGE_HOUSE_BY_HOUSE_ID="/house/changeHouseByHouseId";//修改房源
    public static final String NEW_INFORMATION = "/information/newInformation";//创建个人信息
    public static final String FIND_INFORMATION = "/information/findInformation";//查看个人信息
    public static final String POST_INFORMATION = "/information/postInformation";//修改个人信息
    public static final String FIND_INFORMATION_HOUSE = "/viewInformationHouse/findInformationHouse";//查询个人信息和房源（视图）
    public static final String PUBLISH_ORDERS = "/order/publishOrders";//下订单
    public static final String FIND_HOUSE_BY_House_USER_ID = "/house/findHouseByUserId";//根据house_user_id搜索房源
    public static final String FIND_ORDERS_BY_LANDLORD_ID = "/order/findOrdersByLandlordId";//根据orders_landlord_Id搜索订单
    public static final String FIND_ORDERS_BY_TENANT_ID = "/order/findOrdersByTenantId";//根据orders_tenant_Id搜索订单
    public static final String FIND_ORDERS_BY_ORDERS_ID = "/order/findOrdersByOrdersId";//根据orders_Id搜索订单
    public static final String POST_ORDERS_BY_ORDERS_ID_AND_CHECK = "/order/postOrdersByOrdersIdAndCheck";//改变订单状态
    public static final String FIND_ORDERS_BY_LANDLORD_ID_AND_CHECK="/order/findOrdersByLandlordIdAndCheck";//通过orders_landlord_Id以及check搜索订单
    public static final String FIND_ORDERS_BY_TENANT_ID_AND_CHECK="/order/findOrdersByTenantIdAndCheck";//通过orders_tenant_Id以及check搜索订单
}
